package io.gitee.zhangbinhub.admin.route.po

import io.gitee.zhangbinhub.admin.common.base.BaseQueryPo
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank

/**
 * @author zhang by 17/03/2019
 * @since JDK 11
 */
@Schema(description = "网关路由配置查询参数")
data class RouteQueryPo(
    @Schema(description = "路由ID")
    @get:NotBlank(message = "路由ID不能为空")
    var routeId: String? = null,
    @Schema(description = "是否启用")
    var enabled: Boolean? = null
) : BaseQueryPo()
